<div class="block" id="block-tables">

                <div class="secondary-navigation">
                    <ul class="wat-cf">
                        <li class="first active"><a href="t_siswa">Listing</a></li>
                        <li><a href="t_siswa/create/">New record</a></li>
                    </ul>
                </div>

                <div class="content">
                    <div class="inner">
                        <h3>List of {$table_name}</h3>

                        {if !empty( $t_siswa_data )}
                        <form action="t_siswa/delete" method="post" id="listing_form">
                            <table class="table">
                            	<thead>
                                    <th width="20"> </th>
                                    			<th>{$t_siswa_fields.NIS}</th>
			<th>{$t_siswa_fields.NO_CALSIS}</th>
			<th>{$t_siswa_fields.NM_SISWA}</th>
			<th>{$t_siswa_fields.NM_PANGGILAN}</th>
			<th>{$t_siswa_fields.KD_JENIS_KELAMIN}</th>
			<th>{$t_siswa_fields.KOTA_LAHIR}</th>
			<th>{$t_siswa_fields.TANGGAL_LAHIR}</th>
			<th>{$t_siswa_fields.ALAMAT}</th>
			<th>{$t_siswa_fields.RT}</th>
			<th>{$t_siswa_fields.RW}</th>
			<th>{$t_siswa_fields.KD_POS}</th>
			<th>{$t_siswa_fields.KD_GOL_DARAH}</th>
			<th>{$t_siswa_fields.KD_AGAMA}</th>
			<th>{$t_siswa_fields.NO_TELP}</th>
			<th>{$t_siswa_fields.NO_HP}</th>
			<th>{$t_siswa_fields.STATUS_SISWA}</th>
			<th>{$t_siswa_fields.KEWARGANEGARAAN}</th>
			<th>{$t_siswa_fields.ANAK_KE}</th>
			<th>{$t_siswa_fields.JUMLAH_KANDUNG}</th>
			<th>{$t_siswa_fields.JUMLAH_TIRI}</th>
			<th>{$t_siswa_fields.JUMLAH_ANGKAT}</th>
			<th>{$t_siswa_fields.STATUS_YATIM_PIATU}</th>
			<th>{$t_siswa_fields.BAHASA}</th>
			<th>{$t_siswa_fields.TINGGAL_DI}</th>
			<th>{$t_siswa_fields.JARAK_SEK}</th>
			<th>{$t_siswa_fields.KELAINAN_JASMANI}</th>
			<th>{$t_siswa_fields.BERAT_BADAN}</th>
			<th>{$t_siswa_fields.TINGGI_BADAN}</th>
			<th>{$t_siswa_fields.ASAL_SMP}</th>
			<th>{$t_siswa_fields.NO_STL_SMP}</th>
			<th>{$t_siswa_fields.TANGGAL_STL_SMP}</th>
			<th>{$t_siswa_fields.LAMA_BELAJAR_SMP}</th>
			<th>{$t_siswa_fields.ASAL_SMA}</th>
			<th>{$t_siswa_fields.KD_TINGKAT_KELAS}</th>
			<th>{$t_siswa_fields.KD_PROGRAM_PENGAJARAN}</th>
			<th>{$t_siswa_fields.DITERIMA_TANGGAL}</th>
			<th>{$t_siswa_fields.PINDAH_ALASAN}</th>
			<th>{$t_siswa_fields.HUBUNGI}</th>
			<th>{$t_siswa_fields.TANGGUNG_BIAYA}</th>
			<th>{$t_siswa_fields.TEMP_AKSES_NET}</th>
			<th>{$t_siswa_fields.FREK_AKSES_NET}</th>
			<th>{$t_siswa_fields.FREK_REKRE_KEL}</th>
			<th>{$t_siswa_fields.NILAI}</th>
			<th>{$t_siswa_fields.NO_INDUK}</th>
			<th>{$t_siswa_fields.DIR_FOTO}</th>
			<th>{$t_siswa_fields.STATUS_ENTRI}</th>
			<th>{$t_siswa_fields.KD_JENIS_KETUNAAN}</th>
			<th>{$t_siswa_fields.KD_STATUS_DALAM_KELUARGA}</th>
			<th>{$t_siswa_fields.TANGGAL_SKHUN_SMP}</th>
			<th>{$t_siswa_fields.NO_SKHUN_SMP}</th>
			<th>{$t_siswa_fields.NISN}</th>
			<th>{$t_siswa_fields.NIK}</th>
			<th>{$t_siswa_fields.JENIS_TINGGAL}</th>
			<th>{$t_siswa_fields.KELURAHAN_DESA}</th>
			<th>{$t_siswa_fields.KECAMATAN}</th>
			<th>{$t_siswa_fields.KABUPATEN_KOTA}</th>
			<th>{$t_siswa_fields.PROPINSI}</th>
			<th>{$t_siswa_fields.KD_AREA}</th>
			<th>{$t_siswa_fields.KD_JARAK_SEK}</th>
			<th>{$t_siswa_fields.ALAT_TRANSPORTASI}</th>
			<th>{$t_siswa_fields.EMAIL_PRIBADI}</th>
			<th>{$t_siswa_fields.USERNAME}</th>
			<th>{$t_siswa_fields.TANGGAL_AKSES}</th>

                                    <th width="80">Actions</th>
                            	</thead>
                            	<tbody>
                                	{foreach $t_siswa_data as $row}
                                        <tr class="{cycle values='odd,even'}">
                                            <td><input type="checkbox" class="checkbox" name="delete_ids[]" value="{$row.NIS}" /></td>
                                            				<td>{$row.NIS}</td>
				<td>{$row.NO_CALSIS}</td>
				<td>{$row.NM_SISWA}</td>
				<td>{$row.NM_PANGGILAN}</td>
				<td>{$row.KD_JENIS_KELAMIN}</td>
				<td>{$row.KOTA_LAHIR}</td>
				<td>{$row.TANGGAL_LAHIR}</td>
				<td>{$row.ALAMAT}</td>
				<td>{$row.RT}</td>
				<td>{$row.RW}</td>
				<td>{$row.KD_POS}</td>
				<td>{$row.KD_GOL_DARAH}</td>
				<td>{$row.KD_AGAMA}</td>
				<td>{$row.NO_TELP}</td>
				<td>{$row.NO_HP}</td>
				<td>{$row.STATUS_SISWA}</td>
				<td>{$row.KEWARGANEGARAAN}</td>
				<td>{$row.ANAK_KE}</td>
				<td>{$row.JUMLAH_KANDUNG}</td>
				<td>{$row.JUMLAH_TIRI}</td>
				<td>{$row.JUMLAH_ANGKAT}</td>
				<td>{$row.STATUS_YATIM_PIATU}</td>
				<td>{$row.BAHASA}</td>
				<td>{$row.TINGGAL_DI}</td>
				<td>{$row.JARAK_SEK}</td>
				<td>{$row.KELAINAN_JASMANI}</td>
				<td>{$row.BERAT_BADAN}</td>
				<td>{$row.TINGGI_BADAN}</td>
				<td>{$row.ASAL_SMP}</td>
				<td>{$row.NO_STL_SMP}</td>
				<td>{$row.TANGGAL_STL_SMP}</td>
				<td>{$row.LAMA_BELAJAR_SMP}</td>
				<td>{$row.ASAL_SMA}</td>
				<td>{$row.KD_TINGKAT_KELAS}</td>
				<td>{$row.KD_PROGRAM_PENGAJARAN}</td>
				<td>{$row.DITERIMA_TANGGAL}</td>
				<td>{$row.PINDAH_ALASAN}</td>
				<td>{$row.HUBUNGI}</td>
				<td>{$row.TANGGUNG_BIAYA}</td>
				<td>{$row.TEMP_AKSES_NET}</td>
				<td>{$row.FREK_AKSES_NET}</td>
				<td>{$row.FREK_REKRE_KEL}</td>
				<td>{$row.NILAI}</td>
				<td>{$row.NO_INDUK}</td>
				<td>{$row.DIR_FOTO}</td>
				<td>{$row.STATUS_ENTRI}</td>
				<td>{$row.KD_JENIS_KETUNAAN}</td>
				<td>{$row.KD_STATUS_DALAM_KELUARGA}</td>
				<td>{$row.TANGGAL_SKHUN_SMP}</td>
				<td>{$row.NO_SKHUN_SMP}</td>
				<td>{$row.NISN}</td>
				<td>{$row.NIK}</td>
				<td>{$row.JENIS_TINGGAL}</td>
				<td>{$row.KELURAHAN_DESA}</td>
				<td>{$row.KECAMATAN}</td>
				<td>{$row.KABUPATEN_KOTA}</td>
				<td>{$row.PROPINSI}</td>
				<td>{$row.KD_AREA}</td>
				<td>{$row.KD_JARAK_SEK}</td>
				<td>{$row.ALAT_TRANSPORTASI}</td>
				<td>{$row.EMAIL_PRIBADI}</td>
				<td>{$row.USERNAME}</td>
				<td>{$row.TANGGAL_AKSES}</td>

                                            <td width="80">
                                                <a href="t_siswa/show/{$row.NIS}"><img src="iscaffold/images/view.png" alt="Show record" /></a>
                                                <a href="t_siswa/edit/{$row.NIS}"><img src="iscaffold/images/edit.png" alt="Edit record" /></a>
                                                <a href="javascript:chk('t_siswa/delete/{$row.NIS}')"><img src="iscaffold/images/delete.png" alt="Delete record" /></a>
                                            </td>
                            		    </tr>
                                	{/foreach}
                            	</tbody>
                            </table>
                            <div class="actions-bar wat-cf">
                                <div class="actions">
                                    <button class="button" type="submit">
                                        <img src="iscaffold/backend_skins/images/icons/cross.png" alt="Delete"> Delete selected
                                    </button>
                                </div>
                                <div class="pagination">
                                    {$pager}
                                </div>
                            </div>
                        </form>
                        {else}
                            No records found.
                        {/if}

                    </div><!-- .inner -->
                </div><!-- .content -->
            </div><!-- .block -->
